Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Thank you!

I ended up getting it to work, but much more difficult than your example..

Well..

I ended up adding this to the script that popped up the calendar:

this.wwrite("<script language='JavaScript' type='text/javascript'>");
this.wwrite("function displayNumHours()");
this.wwrite("{");
this.wwrite(" if(window.opener.document.forms[0].edate.value != window.opener.document.forms[0].sdate.value)");
this.wwrite(" {");
this.wwrite(" window.opener.document.getElementById('nHours').style.display = 'none';");
this.wwrite(" window.opener.document.getElementById('nHoursField').style.display = 'none'; }");
this.wwrite(" else");
this.wwrite(" {");
this.wwrite(" window.opener.document.getElementById('nHours').style.display = 'block';");
this.wwrite(" window.opener.document.getElementById('nHoursField').style.display = 'block';");
this.wwrite("}");
this.wwrite("}");
this.wwrite("</script>");

and then on the onclick event of each of the days, I called the displayNumHours function..

It worked.. I will read what you gave me.. and see if I can figure it out.

Thank you as always for taking the time to respond to my query.


Feedback response number WEBBA5XVWD created by ~Hal Quetlu on 01/07/2016

So long since I did web development... (~Hal Quetlu 7.Jan.16)
. . so.. here is what I am trying so fa... (~Hal Quetlu 7.Jan.16)
. . Javascript... (~Dan Kikiterobu... 7.Jan.16)
. . . . Thank you! (~Hal Quetlu 7.Jan.16)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS